home *** CD-ROM | disk | FTP | other *** search
- /*
- ### create combined space menu ###
- */
-
- #include <suntool/sunview.h>
-
- void create_aux_menu()
- {
- void reset_proc(),print_panel_proc(),top_proc(),aux_quit_proc(),quit_proc(),help_proc();
- extern Menu aux_menu,open_menu,orbit_menu,bif_menu,batch_menu;
- extern Pixfont *boldfont;
-
- aux_menu = menu_create(MENU_PULLRIGHT_ITEM,
- "Open panel/window",
- open_menu,
- MENU_PULLRIGHT_ITEM,
- "Compute orbit",
- orbit_menu,
- MENU_PULLRIGHT_ITEM,
- "Bifurcation set",
- bif_menu,
- MENU_ITEM,
- MENU_STRING, "Return to top box",
- MENU_NOTIFY_PROC, top_proc, 0,
- MENU_PULLRIGHT_ITEM,
- "Batch",
- batch_menu,
- MENU_ITEM,
- MENU_STRING, "Print",
- MENU_NOTIFY_PROC, print_panel_proc, 0,
- MENU_ITEM,
- MENU_STRING, "Reset",
- MENU_NOTIFY_PROC, reset_proc, 0,
- MENU_ITEM,
- MENU_STRING, "Help",
- MENU_NOTIFY_PROC, help_proc, 0,
- MENU_ITEM,
- MENU_STRING, "Quit auxiliary space",
- MENU_NOTIFY_PROC, aux_quit_proc, 0,
- MENU_ITEM,
- MENU_STRING, "Quit kaos",
- MENU_NOTIFY_PROC, quit_proc, 0,
- 0);
- menu_set(aux_menu, MENU_FONT, boldfont,0);
- }
-